<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@include file="inc/head.jsp" %>

<div class="main">
    <div class="leftmain">
        <!--面包屑-->
        <div class="breadcrumbgezi gezidi">
            <b>当前位置：</b>&nbsp;&nbsp;<a><b>首页</b></a> > <a>协会简报</a>
        </div>
        <!--面包底屑-->

        <div class="nromalcon">
            <div class="blank15"></div>
            <div class="jianbaoliall">
                <div class="jianbaolitop"></div>
                <div class="jianbaocontent">
                    <c:forEach var="unionNews" items="${page.result}">
                        <table class="qikantb" cellpadding="0" cellspacing="0" width="310" border="0">
                            <tr>
                                <td class="jour_bg">
                                    <a> <img width="100" height="142"
                                             src="/static/upload/unionNews/${unionNews.id}/${unionNews.imageName}"/></a>
                                </td>

                                <td valign="top">
                                    <div class="topyi"><a>${unionNews.title}</a></div>
                                    <div class="jianbjie">
                                            ${unionNews.summary}...
                                        <a href="/unionnews/${unionNews.id}"> &nbsp;详细>></a>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="liebiaojian" colspan="2">
                                    <c:forEach var="unionNewsGroup" items="${unionNews.groupList}" begin="0" end="3">
                                        <div>
                                            · ${unionNewsGroup.name}
                                            <c:if test="${not empty unionNewsGroup.contentEntityList}">
                                            <c:set var="firstContentEntity" value="${unionNewsGroup.contentEntityList[0]}"/>
                                            <c:if test="${(not empty firstContentEntity.accessPermission) and (firstContentEntity.accessPermission eq 1)}">
                                            <a href="javascript:checkReadMemberCode('/${firstContentEntity.location}/${firstContentEntity.id}')">
                                                    ${firstContentEntity.title}...
                                                </c:if>
                                                <c:if test="${firstContentEntity.accessPermission ne 1}">
                                                <a href="/${firstContentEntity.location}/${firstContentEntity.id}">
                                                        ${firstContentEntity.title}...
                                                    </c:if>
                                                </a>
                                                </c:if>
                                        </div>
                                    </c:forEach>
                                </td>

                            </tr>
                            <tr>
                                <td></td>
                                <td style="padding-top:15px;">
                                    <a><img src="/static/image/but_mfxz.gif"/></a> <a><img
                                        src="/static/image/but_read.gif"/></a>
                                </td>
                            </tr>
                        </table>
                    </c:forEach>

                    <div class="nextpage">
                        <span>共${page.totalCount}条记录</span>&nbsp;
                        <span>当前为第${page.pageNo}页</span>&nbsp;
                        <span>共${page.lastPage}页</span>&nbsp;
                        <span><a href="/unionnews/pages/${page.prePage}">上一页</a></span>&nbsp;
                        <span><a href="/unionnews/pages/${page.nextPage}">下一页</a></span> &nbsp;
                    </div>
                    <div class="clear"></div>
                </div>

            </div>

        </div>
        <!--左边到底-->
    </div>
    <div class="rightmain">
        <%@include file="inc/right.jsp" %>
    </div>

</div>
<%@include file="inc/footer.jsp" %>
